package com.atde._04_structural_design_patterns.adapter.srpingmvcadapter;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._04_structural_design_patterns.adapter.srpingmvcadapter
 * @Author: Del
 * @CreateTime: 2025-06-19  00:46
 * @Description: 适配器模式 --- 模拟 SpringMVC 适配器模式
 * @Version: 1.0
 */
public interface Controller {
}

class HttpController implements Controller {
    public void doHttpHandler() {
        System.out.println("http handler...");
    }
}

class SimpleController implements Controller {
    public void doSimpleHandler() {
        System.out.println("simple handler...");
    }
}

class AnnotationController implements Controller {
    public void doAnnotationHandler() {
        System.out.println("annotation handler...");
    }
}
